import React from 'react';
import {Button, Tabs} from 'antd';
import Dictionary from '@/pages/dictionary/dictionary';
import Logout from "@/pages/login/logout";
import Learn from "@/pages/learn/learn";

const Hometabs: React.FC = () => (
    <Tabs
        defaultActiveKey="1"
        centered
        items={[
            {
                label: <Button type="primary">词典主页面</Button>,
                key: '1',
                children: <Dictionary />,
            },

            {
                label: <Button type="primary">学习</Button>,
                key: '23',
                children: <Learn />,
            },


            {
                label: <Button type="primary" danger>系统设置</Button>,
                key: '4',
                children: <Logout />,
            },
        ]}
    />
);
export default Hometabs;